<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/9/28 0028
 * Time: 下午 7:15
 */
for ($i=0; $i<4;++$i){
    echo $i.'&nbsp;';
}
header('Content-type:text/html;charset=utf-8');
echo '<table border="1">';
for ($i=1; $i<10; ++$i){
    echo '<tr>';
    for ($j=1;$j=$i;++$j){
        echo  "<td> {$j}*{$i}=".$j*$i."</td>";
    }
    echo '</tr>';
    }
echo '</table>';